home *** CD-ROM | disk | FTP | other *** search
- /*
- * Name: GL EXEC, Gopher Tree Traverser (Gopher List)
- * Author: Rick Troth, Rice University, I/S VM Systems Support
- * Date: 1992-Feb-22, Jun-29
- *
- * Note: Think of this as a FILELIST replacement.
- * Actually, it doesn't replace, but wraps around
- * FILELIST, resetting PF11 from XEDIT to EXEC GL.
- * When GL is invoked on a FILELIST, it calls FILELIST;
- * when GL is invoked on any other file, it calls XEDIT.
- */
-
- Address "COMMAND"
-
- Parse Upper Arg fn ft fm rest
- If fn ^= "" & ft = "" Then ft = "FILELIST"
-
- If ft = "FILELIST" Then Do
- Push "COMMAND SET PF11 BEFORE MACRO" ,
- "EXECUTE CURSOR EXEC GL /"
- 'EXEC FILELIST' fn ft fm '(FILELIST'
- End
-
- Else 'XEDIT' fn ft fm rest
-
- Exit rc
-
-